﻿@using OpenSpacePlanner.Contracts
@model IEnumerable<IAttendee>

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Index</h2>

@Html.ActionLink("New", "Create")

@foreach(var attendee in Model) {
	<dl>
		@{ string attendeeName = @attendee.LastName + " " + @attendee.FirstName; }
		<dd>@*@Html.ActionLink(attendeeName, "Edit", new { id=attendee.Id}, null)*@
		@attendeeName / @attendee.Tag
		</dd>
	</dl>
}